package com.xbongbong.paas.pojo.workflow.operate.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.UserVO;
import com.xbongbong.workflow.pojo.WorkflowTransferPOJO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author 吴峰
 * @date 2022/08/23 11:10
 */
@Setter
@Getter
@ToString
public class WorkflowUpdateBackDTO extends BaseDTO {


    private static final long serialVersionUID = -4349303063340576714L;

    private Integer saasMark;

    private Integer businessType;


    private Long taskId;

    private WorkflowTransferPOJO workflowTransferPOJO;

    public WorkflowUpdateBackDTO() {
    }

    public WorkflowUpdateBackDTO(String corpid, Integer saasMark, Integer businessType, Long taskId, WorkflowTransferPOJO workflowTransferPOJO, UserVO userVO, String platform) {
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.taskId = taskId;
        this.workflowTransferPOJO = workflowTransferPOJO;
        setCorpid(corpid);
        setPlatform(platform);
        setLoginUser(userVO);
        setUserId(userVO.getUserId());
    }
}
